package co.edu.usbcali.unidades.dataaccess.dao;

import co.edu.usbcali.unidades.modelo.Reserva;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for ReservaDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IReservaDAO {
    public void save(Reserva instance);

    public void delete(Reserva instance);

    public void update(Reserva instance);

    public Reserva findById(String id);

    public List<Reserva> findByExample(Reserva instance);

    public List<Reserva> findByProperty(String propertyName, Object value);

    public List<Reserva> findAll();

    public List<Reserva> findByCriteria(String whereCondition);

    public List<Reserva> findPageReserva(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberReserva();

    public List<Reserva> findByResCodigo(Object resCodigo);

    public List<Reserva> findByResFecha(Object resFecha);

    public List<Reserva> findByResHoraFin(Object resHoraFin);

    public List<Reserva> findByResHoraInicio(Object resHoraInicio);
    
    public Reserva buscarReserva(String zonaComun,Date fecha, String codProInm);
}
